/**************************************************
 * FreeESP by compudaze (compudaze@gmail.com)
 * norecoil.h
 **************************************************/

#ifndef NORECOIL_H
#define NORECOIL_H

#include <windows.h>

/**************************************************
 * Signatures for finding new offsets:
 *
 * No Recoil:	68 ?? ?? ?? 00 6A 01 E8 ?? ?? ?? ?? 83 C4 08 5E 5B 83 C4 10 C3
 **************************************************/

// No Recoil Offsets
static DWORD dwNoRecoil		= 0x45F8D3 + 0xD4;

static BYTE bNoRecoil[5]	= {0xE8, 0x84, 0xB7, 0xFD, 0xFF};

// Other
extern bool isNoRecoilEnabled;

void noRecoilEnable();
void noRecoilDisable();
void noRecoilToggle();

#endif  /* NORECOIL_H */